﻿<Anchor Affix="false" GetCurrentAnchor="GetHref">
    <AnchorLink Href="/en-US/components/anchor#components-anchor-demo-basic" Title="@("Basic demo")" />
    <AnchorLink Href="/en-US/components/anchor#components-anchor-demo-onClick" Title="@("OnClick demo")" />
    <AnchorLink Href="/en-US/components/anchor#components-anchor-demo-targetOffset" Title="@("TargetOffset demo")" />
</Anchor>

@code{
    public string GetHref()
    {
        return "/en-US/components/anchor#components-anchor-demo-OnClick";
    }
}